﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

using ERPStore.Extensions;
using ERPStore.NewsLetters.Extensions;

using Microsoft.Practices.Unity;

namespace ERPStore.NewsLetters
{
	public class GlobalConfiguration
	{

		private static readonly object m_Lock = new object();
		private static bool m_Configured = false;

		public static void SetupServices()
		{
			if (m_Configured)
			{
				return;
			}

			lock (m_Lock)
			{
				var container = ERPStore.GlobalConfiguration.Configuration.DependencyResolver.GetContainer();



				m_Configured = true;
			}
		}
	}
}
